package com.zz.parkingsystem.service;

import com.zz.parkingsystem.dto.ExceptionOrderDTO;
import com.zz.parkingsystem.dto.OrderDTO;
import com.zz.parkingsystem.dto.RefundOrderDTO;
import com.zz.parkingsystem.entity.Order;
import com.zz.parkingsystem.vo.ExceptionOrderVO;
import com.zz.parkingsystem.vo.OrderVO;
import com.zz.parkingsystem.vo.RefundOrderVO;

import java.util.List;

public interface PCOrderService {
    /**
     * 订单管理
     */
    List<OrderVO> queryAllOrder(OrderDTO orderDTO);

    Long getOrderCount(OrderDTO orderDTO);

    String updateOrderStatus(Long orderID);

    List<OrderVO> queryAllOrderExcel(OrderDTO orderDTO);

    /**
     * 异常订单
     */
    List<ExceptionOrderVO> queryAllExceptionOrder(ExceptionOrderDTO exceptionOrderDTO);

    Long getExceptionCount(ExceptionOrderDTO exceptionOrderDTO);

    String updateExceptionStatus(ExceptionOrderDTO exceptionOrderDTO);

    List<ExceptionOrderVO> queryAllExceptionOrderExcel(ExceptionOrderDTO exceptionOrderDTO);

    /**
     * 售后订单
     */
    List<RefundOrderVO> queryAllRefundOrder(RefundOrderDTO refundOrderDTO);

    Long getRefundCount(RefundOrderDTO refundOrderDTO);

    String updateRefundStatus(RefundOrderDTO refundOrderDTO);

    List<RefundOrderVO> queryAllRefundOrderExcel(RefundOrderDTO refundOrderDTO);
}
